﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RentalCalcV7
{
    public abstract class Price
    {
        public abstract int GetPriceCode();

        public abstract double GetCharge(int daysRented);

        public int GetMemeberPoints(int daysRented)
        {
            if (GetPriceCode() == Movie.WAR && daysRented > 2)
            {
                return 2;
            }
            else
            {
                return 1;
            }
        }
    }
}
